package ke07.pm.reihe1;


import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;

import java.util.ArrayList;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class HundredItemClassTest {

	ArrayList<Object> al = new ArrayList<Object>();
	Object ob1 = new String("hallo");
	
	
	@Before
	public void setUp() throws Exception {
		al.add(ob1);		
	}

	@After
	public void tearDown() throws Exception {
	}
	
	@Test
	
	public void size() {
		assertEquals(al.size(), 1);
	}
	
	@Test
	public void containsTest() {
		assertTrue(al.contains(ob1));
	}

}
